<div id="b-public-right" class="col-lg-4 hidden-xs hidden-sm hidden-md">
    <div class="b-tags"><h4 class="b-title">热门标签</h4>
        <ul class="b-all-tname">
            <php>$tag_i=0;</php>
            <foreach name="tags" key="k" item="v">
                <php>$tag_i++;</php>
                <php>$tag_i=$tag_i==5?1:$tag_i;</php>
                <li class="b-tname"><a class="tstyle-{$tag_i}" href="{:U('Home/Index/tag',array('tid'=>$v['tid']))}"
                                       onclick="return recordId('tid',{$v['tid']})">{$v['tname']} ({$v['count']})</a>
                </li>
            </foreach>
        </ul>
    </div>

</div>